/*
 * @Descripttion: 
 * @version: 
 * @Author: wq<779508400@qq.com>
 * @Date: 2021-10-13 15:43:12
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-11-03 14:06:54
 * @FilePath: /strTest/string_split/src/main.c
 */

#include "string_split.h"
#include "string.h"

int main(int argc, char* argv[])
{
    char intput_strings[] = "rdptsc://172.27.147.201:5905%d3VxaWFuZ193aW4xMA==%###6f34c417-1359-4fad-ae29-b3e012412d2f##172.27.147.25#1111#user#123456";

    StringSplit *splits = string_split_handle('#', intput_strings);
    string_split_output_test(splits);
    string_split_free(splits);

    StringSplit *delims_splits = string_delims_split_handle("%#", intput_strings);
    string_split_output_test(delims_splits);
    string_split_free(delims_splits);
    return 0;
}